#include "dspSimulator/register/generalRegister.h"
#include <utility>

namespace dspsimulator {
    GeneralRegister::GeneralRegister(std::string name) {
        m_name = std::move(name);
        m_data = 0;
    }

    u32 *GeneralRegister::get_data_ptr() {
        return &m_data;
    }

    void GeneralRegister::set_data(u32 data) {
        m_data = data;
    }
}